* {
  margin: 0;
  padding: 0;
  font-size: 12px;
}
a {
  text-decoration: none;
  color: #0066aa;
}
div {
  box-sizing: border-box;
}
ul, li, ol {
  list-style: none;
}
$w100:100%;
.warp {
  width: $w100;
}

.navTop {
  width: $w100;
  height: 28px;
  background: url('../img/nav_top.jpg') repeat-x;
  a{
    &:hover{
      color: red;
    }
  }
  .navTops {
    width: 1002px;
    height: 28px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    .login {
      width: 273px;
      height: $w100;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    ._navTop {
      width: 622px;
      height: $w100;
      ._navTops {
        width: $w100;
        height: $w100;
        display: flex;
        justify-content: space-between;
        align-items: center;
        li {
          position: relative;
          .menu {
            display: none;
            position: absolute;
            top: -3px;
            left: 0;
            width: 100%;
            border: 1px solid black;
            background-color: #f9f9f9;
            li {
              width: $w100;
            }
          }
          .id {
            display: none;
            position: absolute;
            top: 16px;
            right: 0;
            width: 320px;
            background-color: #f9f9f9;
            border: 1px solid #ccc;
            text-align: center;
            >p {
              height: 24px;
              line-height: 24px;
            }
            >img{
              width: 250px;
            }
          }
        }
      }
    }
  }
}

.search {
  width: 1002px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  >div {
    display: flex;
    height: $w100;
    width: 80%;
    .logo {
      width: 165px;
      height: 75px;
      display: flex;
      align-items: center;
    }
    ._search {
      width: 70%;
      input {
        margin: 4px;
        margin-right: 0;
        width: 350px;
        height: 30px;
        border: 1px solid red;
      }
      button {
        width: 78px;
        height: 31px;
        border: none;
        color: white;
        background-color: orangered;
      }
      >div {
        width: 500px;
        height: 36px;
        margin-top: 22px;
        margin-left: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      >p {
        width: 70%;
        display: flex;
        justify-content: space-around;
        margin-left: 50px;
        margin-top: 8px;
        >span {
          color: red;
        }
      }
    }
  }
  >img {

  }
}

.nav2 {
  width: $w100;
  height: 40px;
  background: url(../img/nav2_bg.jpg) repeat-x;
  ._nav2 {
    margin: 0 auto;
    width: 1002px;
    height: $w100;
    display: flex;
    .kind {
      position: relative;
      width: 220px;
      height: $w100;
      background: url(../img/bg.jpg) 0 0/100% 100%;
      >div {
        display: none;
        position: absolute;
        top: 40px;
        left: 0;
        width: $w100;
        background: #f1f6fe;
        border: 1px solid #b0c7fe;
        >div {
          margin: 5px;
          p:nth-child(1){
            color: #005dba;
            font-weight: 600;
            &:hover{
              color: red;
            }
          }
          p:nth-child(2){
            display: flex;
            justify-content: space-around;
          }
        }
      }
    }
    ul{
      display: flex;
      color: white;
      margin-left: 8px;
      li{
        display: flex;
        align-items: center;
        font-size: 16px;
        margin: 0 3px;
      }
    }
  }
}

.main {
  width: 1002px;
  min-height: 600px;
  margin: 0 auto;
  .m_top {
    width: $w100;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    span {
      color: red;
    }
  }
  .m_btm {
    display: flex;
    .m_left{
      width: 210px;
      height: 161px;
      border: 1px solid #cccccc;
      border-top: solid 1px #086bae;
      dl{
        width: $w100;
        height: $w100;
        line-height: 24px;
        text-indent: 8px;
        dt {
          width: $w100;
          height: 24px;
          background: url(../img/left_t.jpg) repeat-x;
          text-indent: 14px;
          font-weight: 600;
        }
        span {
          font-weight: 600;
          color: #086bae;
        }
      }
    }
    .m_right {
      margin-left: 10px;
      >div{
        display: flex;
        padding: 25px 10px;
        font-size: 14px;
        border-bottom: 1px solid #ccc;
        img {
          width: 90px;
          height: 128px;
        }
        >div {
          margin-left: 10px;
          >p{
            margin: 6px 0;
            span{
              margin: 0 4px;
            }
            .red {
              color: red;
            }
            .price {
              color: red;
              font-weight: 600;
            }
          }
        }
      }
    }
  }
}

.btm {
  width: $w100;
  height: 288px;
  background: url(../img/bottom_bg.jpg) repeat-x;
}